package com.wowangz.cms.systemmanage.userduty.pojo;

import java.util.Map;

import com.wowangz.cms.syscore.pojo.BaseEntity;

/**
 * 用户职责 sys_user_duty_agency
 * 
 * @author cakohy
 *
 */
@SuppressWarnings("serial")
public class UserDuty extends BaseEntity {

	private Long userid;// 用户id
	private Long dutyid;// 职责ID
	private Long checkstatus;// 复核状态：1：已保存 2：已复核
	public UserDuty(){
		
	}
	public UserDuty(Long userid, Map<String, Object> map) {
		this.userid = userid;
		this.dutyid = Long.parseLong(String.valueOf(map.get("dutyid")));
	}

	public Long getUserid() {
		return userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}


	public Long getDutyid() {
		return dutyid;
	}

	public void setDutyid(Long dutyid) {
		this.dutyid = dutyid;
	}


	public Long getCheckstatus() {
		return checkstatus;
	}

	public void setCheckstatus(Long checkstatus) {
		this.checkstatus = checkstatus;
	}
}
